package com.clkj.xiuzheng.dao.shangcheng;

import com.clkj.xiuzheng.pojo.shangcheng.ProductImage;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;
import tk.mybatis.mapper.common.MySqlMapper;

import java.util.List;

@Repository
public interface ScProductimageMapper extends Mapper<ProductImage>, MySqlMapper<ProductImage> {
    @Select("SELECT image FROM t_xz_productImage WHERE product_id = #{productId} and image_type = #{type}")
    List<String> selectlunboImagesById(@Param("productId") Integer productId, @Param("type") Integer type);
}
